package com.core.life.service;

import java.util.List;
import java.util.Map;

import com.core.common.pageModel.EasyuiDataGridColumns;
import com.core.life.entity.ConsumeRecordEntity;

/**
 * 转账关系服务类
 *
 */
public interface IAccountingRelationsService {

	/**
	 * 保存账务关系
	 */
	void saveAccountingRelations(ConsumeRecordEntity consumeRecord, String strConsumeUserIds);
	
	/**
	 * 保存账务关系
	 */
	void updateAccountingRelations(ConsumeRecordEntity consumeRecord, String strConsumeUserIds);
	
	void deleteAccountingRelationsByConsumeRecordIds(List<Long> consumeRecordIds);
	
	List<Map<String,Object>> getAccountingRelationsList(Map<String, Object> optionMap);
	
	List<EasyuiDataGridColumns> getAccountingRelationsDataGridColumnList();
	
	String getByConsumeRecordId(Long consumeRecordId);
}
